<template>
  <div>
    <c-form :formParams="formParams"></c-form>
    <component-tip></component-tip>
  </div>
</template>

<script>
import CForm from './Components/CForm.vue'
export default {
  components: {
    CForm
  },
  data() {
    return {
      formParams: {
        formData: [
          {
            type: 'text',
            labelName: '姓名',
            model: 'name'
          },
          {
            type: 'select',
            labelName: '性别',
            model: 'sex',
            options: [
              {
                labelName: '男',
                value: 'man'
              },
              {
                labelName: '女',
                value: 'woman'
              }
            ]
          }
        ]
      }
    }
  }
}
</script>

<style></style>
